package mine;

public class Main {
	private static void test(int i,int j) {
		Welcomewin welcomewin=new Welcomewin(null);
		welcomewin.toShow();
		if(i>20){
			i=20;
		}
		if(i<3){
			i=3;
		}
		MineModel model=new MineModel(i,j);
		Controller controller=new Controller(model,i,j);
		welcomewin.setController(controller);
	}
	public static void main(String[] args) {
		test(18, 30);
	}
}
